/**************************
* @Summary
* @Author 20009200303 赵传博
* @Date 6/16/2022
* @Note
*****************************/

#ifndef REVIEW_BASE_H
#define REVIEW_BASE_H


class Base {
protected:
    int x;
public:
    Base(int xx) { x = xx; }
};

class Sub : public Base{
    char c;
    // must super!!!
    Sub(int xx, int x1, char c1) : Base(xx) {
        x = x1;
        c = c1;
    }
};


#endif //REVIEW_BASE_H
